<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>个人财务</title>
    <meta name="viewport" content="width=device-width,initial-scale=1" />
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/f/navs.css">
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/f/default.css">
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/f/assignment.css"/>
	<script src="js/jquery.min.js"></script>
	<script src="js/f/default.js"></script>

  </head>
  <body>
  <div class="all">
  	<jsp:include page="/nav.jsp"></jsp:include>
  	<div class="rightall float-left">
	  	<div class="already">
		  	<div class="already-title">
				<div class="left">个人财务 </div>
			</div>
				<input type="hidden" value="${error_msg }" name="errorMsg" />
		    	<table>	
					<tr class="tr-style-head">
						<td>编号</td>
						<td>姓名</td>
						<td>学号</td>
						<td>缴费内容</td>
						<td>缴费时间</td>
						<td>缴费金额</td>
						<td>状态</td>
					</tr>
					<c:forEach var="tui" items="${list}">
						<tr class="tr-style">
							<td>${tui.tuitionId }</td>
							<td>${tui.stuName }</td>
							<td>${tui.stuNo }</td>
							<td>${tui.tuitionContent }</td>
							<td><fmt:formatDate value="${tui.tuitionTime }" pattern="yyyy年MM月dd日" /></td>
							<td>${tui.tuitionSum }</td>
							<td>${tui.tuitionState }</td>
						</tr>
					</c:forEach>
				</table>
				<c:if test="${pages > 1 }">
               		<div class="previous">
	               		<c:if test="${pageNo>1}">
	                    	<a href="">上一页</a>
	                	</c:if>
	                   	<c:forEach var="p" begin="1" end="${pages }" step="1">
	                   		<c:if test="${p==pageNo }">
	                   			<span style="font-size:18px;color:#446ee6;">&nbsp;${p}&nbsp;</span>
	                   		</c:if>
	                   		<c:if test="${p!=pageNo }">
	                   			<a href="student/stuTuition.do?pageNo=${p }" >&nbsp;${p}&nbsp;</a>
	                   		</c:if>
	                   	</c:forEach>
	                    <c:if test="${pageNo<pages}">
	                    	<a href="">下一页</a>
	                	</c:if>
                   </div>
                </c:if>
			</div>
		</div>
	</div>
  </body>
</html>
								